1. what is a plc
你好。
Hello.
在本教程中,我们将了解此处插入的内容。
In this tutorial, we will learn what is plugged in here.
您将看到,就 220 hp x 或 P P LC Typekit 而言,这是一个图像,首先,此图在此绘制 APL C 组件。
You will see that as far as 220 hp x or P P LC Typekit, this is an image and that first of all, this draw here APL C components.
首先,在政策上,我们有投入。
First of all, in the policy, we have input.
好的。
OK.
输入博客。
Input blogs.
然后。
Then.
在它的下面,我们有一段记忆。
Under it, we have in here a memory.
在内存附近,我们有 CPA,好吧,处理器,然后我们有输出块。
And nearby the memory, we have our CPA, OK, a processor, and then we have output blocks.
然后我们也在这里有电源。
And then also in here, we have a power supply.
这对政策很重要,也许我可以等待沟通。
This is important for the policy, and maybe I can wait a communication.
最后一件事,也许是扩张,对吧?
And then the last thing, maybe expansion, right?
好的。
OK.
就这样。
That's all.
这就是政策的结构。
So this is the structure of the policy.
然后让我们看一下这个重要的区域。
And then let's take a look once to this important area.
我们对政策有一个形象。
And we have an image of the policy.
让我们来看看。
Let's take a look.
一一输入块就在这里,好吗?
One by one input blocks is here, OK?
那么这些就是示例图像 OK 的 Delta 策略的输入。
Then these are the inputs of the Delta policy for the example image OK.
所以我们可以连接到这里我们的传感器。
So we can connect to here our sensors.
好的?
OK?
这是我们可以用于输入的常开触点或常闭触点。
This is normally open contact or normally close contact that we can use for the inputs.
好的?
OK?
例如,这是常开的想象和传感器。
For example, this is normally open and imagine and sensor.
想象一下这是感应传感器检测到金属部件。
Imagine this is inductive sensor is detected a metal part.
好的。
OK.
那么输入块中的策略内部会发生什么?
So what will happen inside of the policy in the input blocks?
这样就可以激活了,但是这个怎么输入呢?
This will be active, but how this input?
从这里。
From here.
想象一下这是零。
Imagine this is zero.
对你来说是富有的,然后想象你有这样的输出。
The rich to you and then imagine you're at an output like that.
这就是为什么输出为零的原因。
And this will be why zero so output bollocks is here.
好的,想象一下这个区域连接到了继电器。
OK, imagine this is this area is connected to relay.
然后抽签到这里,像这样的接力赛。
Then this draw here, a relay like that.
那真的是常开触点。
And that really normally open contact.
它连接到接触器A1和A2。
It is connected to Contactor A1 and A2.
这是我们的接触器。
This is our contactor.
想象一下这是这样的。
Imagine this is like that.
传感器检测到金属,输出继电器激活。
The sensor is detected in metal and the output relay is active.
太好了,这是活跃的。
How OK, this is active.
所以这在逻辑上是活跃的,但它发生在哪里呢?
So this will be active in the logic, but where it is happening?
这些是在 CPU CPU 内部进行的整个作业或操作。
These are whole jobs or operations are working inside of the CPU CPU.
你会得到输入,X0的情况。
You will get the input, the situation of X0.
根据我们的程序,这是用户程序。
And according to our program, this is user program.
好的,所以用户是美国用户程序,将处理用户程序并实现,哦,好的,这是活动的。
OK, so user is US user program will process the user program and it realize, Oh, OK, this is active.
因此,语音零需要处于活动状态,并且它将在输出块处达到两个 y 零,并且这是活动的并且从向前的两个开始。
So the Voice Zero needs to be active and it will reach two y zero at the output blocks and this is active and from two at forward.
例如,这是 PMP 连接。
For example, this is PMP connection.
通过这次传输,我们可以开始播放、中继、接触和电机,假设这里的两个将处于活动状态,好吗?
And with this transfer, well, we go to okay to play and relay and contact and to motor, let's say two here will be active, OK?
就这样。
That's all.
以及我们为什么使用内存的内存。
And the memory why we are using the memory.
存储器保存输入和输出的情况。
The memory is keeps the situation of inputs and outputs.
此外,数据还登记在政策中。
Also, data register in the policy.
想象一下你有,例如,零,二。
Imagine you have, for example, the zero, the two.
这些包括数字,例如,这是 70。
These are includes a numbers or for example, this is 70.
这是 100。
This is 100.
当中华人民共和国断电并再次通电时,这些是你们在中华人民共和国境内的女儿,美国需要合法或需要保留。
These are your daughters inside of the PRC when the PRC is powered off and the power on again is that US needs to be legit or needs to be remain.
所以内存将数据保存在CPU内部。
So the memory keeps the data inside of the CPU.
这就是CPU的全部供电。
That's all the power supply of the CPU.
好的,Delta 问题位于左侧。
OK for the Delta issue is in the left side.
我们有两伏、四伏和零伏,然后是格兰特。
We have two and four volt and zero volt and then Grant.
好的,所以我们需要给策略一个操作和沟通的权力。
OK, so we need to give a power to the policy for the operation and the communication.
例如,这里我们有它可以开放的通信,我们这里有台达A系列支持的232和485个通信。
For example, inside here we have it can open communication and we are here are these two hundred and thirty two and four hundred and eighty five communications supported by Delta A-series.
好的,然后我们可以打开,可以高,可以低,然后授予确定。
OK, then we can open, can high, can low and grant OK.
然后我们就可以与外部设备尤其是摇滚设备进行通信。
Then we can communicate with the external devices and especially rock.
好吧,想象一下这些已经满了。
OK, imagine these are full.
OK,这个区域,这些输入和输出都是流量。
OK, this area, these inputs and outputs are flow.
因此,在这里我们可以放置一个额外的数字或数字输入模块,然后扩展机架支持 2DS 数字输出生成器 Sopel,以进行 Sol 在 Switch Run 和 Stop 开关上看到的大量输入和输出。
So inside of here we can put one extra digital or digital input module and then 2DS digital output producer Sopel are supported by the expansion racks to go a lot of input and output that Sol saw on the Switch Run and stop switch.
使该 CPU 处于活动状态或使 CPU 停止。
To make this CPU active or make the CPU stop.
通过这个区域,你会看到以太网连接,所以我们可以通过以太网通信上网到CPU,或者我们可以从这个以太网到,例如,我看到HDMI是人机接口。
And via this area, you will see Ethernet connections so we can go online to the CPU via Ethernet communication, or we can get from this Ethernet to, for example, I saw HDMI is human machine interface.
好的,这是屏幕到触摸板,好吗?
OK, this is the screen to touch panel, OK?
触摸面板上的按钮,有人被放置到这个按钮上。
The buttons on the touch panel and somebody is placed to this button.
因此,这将激活 PC 内部的 m 个零 Merkur 位,并且零处于活动状态。
So this will activate, for example, m zero merkur bit inside of the PC and zero is active, for example.
为什么零会活跃。
Why zero will be active.
再说一次,我们也可以控制输出的方式。
And again, the way we can control the outputs also.
这就是这项政策的答案,这是政策的基本内容。
So this is the answer of what this policy, this is really basic things and inside of the policy.
而且,我可以说这些都是小逻辑。
Also, I can say these are all little logic.
好的,所以我们可以通过临时抱佛脚或CFC连续功能图或结构化文本或例如我们可以使用的C程序来使用FP功能块。
OK, so we can use FP function block by cramming or CFC continuous function chart or a structured text or, for example, C program that we can use.
另外,也许我们可以使用 SDL。
Also, maybe we can use SDL.
这种语言类似于 Steve,但这是 Seamans 类内部的含义。
This language is similar like a Steve, but this is the meaning of inside of the Seamans classes.
好的。
OK.
就好像 c 顺序功能图那样,然后转到,例如,像算法一样的另一个跳转。
And also as if c sequential function chart like that and like that and go to, for example, another jump like an algorithm.
好的,我们可以在策略内使用另一个函数或其他编程语言。
OK, we can use another function or in other programming languages inside of the policy.
此外,许多编程语言都支持策略。
Also, policies are supported by a lot of programming language.
此外,今天的政策确实非常强大。
Also, policies are really powerful today.
如今,这些地方正在增加,这个行业也在不断发展壮大。
Nowadays, these places are increasing and this sector is growing and growing.
现在政策正处于另一个阶段,就像 iottie 一样,就像数据库一样获取状态。
And now the policies are at another point like iottie like databases like getting status.
这些状态在图表上显示状态,UM 监控和其他作业可以由策略处理。
And these status shows the status on the charts and the UM monitoring and other jobs can be handled by the policies.
好的?
OK?
所以对于本教程来说,我们基本上了解了本教程完成了哪些咒语。
So for this tutorial, we basically learned what spells are finished for this tutorial.
再见?
See you?
接下来的故事。
The next story of.